//
//  HJDatePickerView.h
//  AINursing
//
//  Created by 黄靖 on 16/2/25.
//  Copyright © 2016年 黄靖. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^GetTimeBlock)(NSString * time);

@interface HJDatePickerView : UIView
/** 选择器和按钮父视图*/
@property(nonatomic, strong) UIView *superView;
/** 当前窗口*/
@property(nonatomic, strong) UIWindow *window;
/** 选择器控件*/
@property(nonatomic,strong)UIDatePicker *datePicker;
/** 确定按钮*/
@property(nonatomic,strong)UIButton *okButton;
/** 回调*/
@property(nonatomic,copy)void (^changeAreaBlock)(NSString *);
/** 获取时间*/
@property(nonatomic,copy)GetTimeBlock getTimeBlock;
- (void)createDatePickerMode: (UIDatePickerMode) PickMode GetTime:(GetTimeBlock)getTime;


@end
